package com.zmn.plat.model.entity.user;

import com.zmn.common.utils.pager.Operator;

import java.util.Date;

/**
 * @author nowind
 * @since 2017/7/30 19:26
 */
public class UserDevice extends Operator {

//    public final static int DEVICE_TYPE_WINDOWS            = 1;                                //设备类型，windows
//    public final static int DEVICE_TYPE_MAC                = 2;                                //设备类型，mac
//    public final static int DEVICE_TYPE_LINUX              = 3;                                //设备类型，linux
//    public final static int DEVICE_TYPE_IOS                = 11;                               //设备类型，iOS
//    public final static int DEVICE_TYPE_ANDROID            = 12;                               //设备类型，android
//
//    public final static int STATUS_DISABLE                 = 1;                                //用户状态，停用
//    public final static int STATUS_ENABLE                  = 2;                                //用户状态，启用

    private int deviceId;
    private int userId;
    private String deviceCode;
    private int deviceType;
    private int status;
    private String lastLoginIp;
    private String lastLoginLatlng;
    private Date lastLoginTime;
    private String registIp;
    private String registLatlng;
    private Date registTime;


    public int getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(int deviceId) {
        this.deviceId = deviceId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public int getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(int deviceType) {
        this.deviceType = deviceType;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public String getLastLoginLatlng() {
        return lastLoginLatlng;
    }

    public void setLastLoginLatlng(String lastLoginLatlng) {
        this.lastLoginLatlng = lastLoginLatlng;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getRegistIp() {
        return registIp;
    }

    public void setRegistIp(String registIp) {
        this.registIp = registIp;
    }

    public Date getRegistTime() {
        return registTime;
    }

    public void setRegistTime(Date registTime) {
        this.registTime = registTime;
    }

    public String getRegistLatlng() {
        return registLatlng;
    }

    public void setRegistLatlng(String registLatlng) {
        this.registLatlng = registLatlng;
    }
}
